package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;
import com.rockcent.common.domain.IDEntityMall;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by zhangjh on 2016/12/16.
 *
 */
public class SysRolePermissionDto extends DtoEntity {

    //角色ID
    private Long roleId;
    //权限ID
    private Long permissionId;
    //平台ID
    private Long mallId;
    //用户ID
    private Long userInfoId;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public Long getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Long userInfoId) {
        this.userInfoId = userInfoId;
    }

    @Override
    public String toString() {
        return "SysRolePermissionDto{" +
                "roleId=" + roleId +
                ", permissionId=" + permissionId +
                ", mallId=" + mallId +
                ", userInfoId=" + userInfoId +
                '}';
    }
}
